﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace webQQservice
{
    public partial class M : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (Global.login == true)
            {
                Button1.Text = "QQ已经登录！";
                Button1.Enabled = false;
                
            }
            else if (TextBox1.Text.Trim() != "")
            {
                Global.visert = TextBox1.Text.Trim();
                Global.thread.Resume();
            }
        }
    }
}